//
//  MyCell.m
//  HeartTravel
//
//  Created by dlios on 15-6-29.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "MyCell.h"

@implementation MyCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    self.layer.cornerRadius = 5;
    self.layer.masksToBounds = YES;
    [self.contentView addSubview:self.myImageView];
    [self.myImageView release];
    
    self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 120, self.frame.size.width, 30)];
    [self.myImageView addSubview:self.myLabel];
    self.myLabel.font = [UIFont systemFontOfSize:20];
    self.myLabel.textColor = [UIColor whiteColor];
    self.myLabel.font = [UIFont boldSystemFontOfSize:22];
    [self.myLabel release];
    
    return self;
}

@end
